<?php
include 'controller_sql.php';

$Database = init_connect_db();

$lastname = $_POST['param1'];
$firstname = $_POST['param2'];
$email = $_POST['param3'];
$password = $_POST['param5'];
$dateofbirth = $_POST['param4'];
$imgUrl = $_POST['param6'];

print("<br>UPDATE USER INFO PHP</br>");
modify_user($lastname, $firstname, $email, $password, $dateofbirth, $admin, $imgUrl);

mysql_close($myDataBase);

?>